package com.ruoyi.client.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 器械信息 对象 sys_medical
 *
 * @author ruoyi
 * @date 2022-09-14
 */
public class SysMedical extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 器械id
     */
    private Long medId;

    /**
     * 器械类别id
     */
    @Excel(name = "器械类别id")
    private Long medTypeId;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String medName;

    /**
     * 展示图片
     */
    @Excel(name = "展示图片")
    private String medImage;

    /**
     * 库存
     */
    @Excel(name = "库存")
    private Long inventory;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private String untitled;

    /**
     * 产品介绍
     */
    private String medInfo;

    /**
     * 订单id
     */
    private Long purId;

    /**
     * 单价
     */
    @Excel(name = "进价")
    private BigDecimal purGoodPrice;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Long purGoodNum;

    public BigDecimal getPurGoodPrice() {
        return purGoodPrice;
    }

    public void setPurGoodPrice(BigDecimal purGoodPrice) {
        this.purGoodPrice = purGoodPrice;
    }

    public Long getPurGoodNum() {
        return purGoodNum;
    }

    public void setPurGoodNum(Long purGoodNum) {
        this.purGoodNum = purGoodNum;
    }

    public void setMedId(Long medId) {
        this.medId = medId;
    }

    public Long getMedId() {
        return medId;
    }

    public void setMedTypeId(Long medTypeId) {
        this.medTypeId = medTypeId;
    }

    public Long getMedTypeId() {
        return medTypeId;
    }

    public void setMedName(String medName) {
        this.medName = medName;
    }

    public String getMedName() {
        return medName;
    }

    public void setMedImage(String medImage) {
        this.medImage = medImage;
    }

    public String getMedImage() {
        return medImage;
    }

    public void setInventory(Long inventory) {
        this.inventory = inventory;
    }

    public Long getInventory() {
        return inventory;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public void setUntitled(String untitled) {
        this.untitled = untitled;
    }

    public String getUntitled() {
        return untitled;
    }

    public void setMedInfo(String medInfo) {
        this.medInfo = medInfo;
    }

    public String getMedInfo() {
        return medInfo;
    }

    public void setPurId(Long purId) {
        this.purId = purId;
    }

    public Long getPurId() {
        return purId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("medId", getMedId())
                .append("medTypeId", getMedTypeId())
                .append("medName", getMedName())
                .append("medImage", getMedImage())
                .append("inventory", getInventory())
                .append("unit", getUnit())
                .append("untitled", getUntitled())
                .append("medInfo", getMedInfo())
                .append("purId", getPurId())
                .append("purGoodPrice", getPurGoodPrice())
                .append("purGoodNum", getPurGoodNum())

                .toString();
    }
}
